<template>
  <view style="padding: 50rpx">
    <view class="notice-list" style="background: #fff; padding: 20rpx;">
      <rich-text :nodes="banks.explanation"></rich-text>
    </view>
  </view>
</template>

<script setup lang="ts">
import { shallowRef } from 'vue';
import { onShow } from '@dcloudio/uni-app';
import { getBank } from '@/api/user';

const banks = shallowRef({});
onShow(() => {
  getBank().then((res) => {
    banks.value = res.data;
  });
});
</script>

<style lang="scss"></style>
